package com.lt.Demo;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.Demo
 * @ClassName Son
 * @Description to do
 * @date 2021/11/20 23:43
 */
public class Son extends Father{
    private int a=20;
    @Override
    public void print() {
        System.out.println(a);
    }

    @Override
    public void set() {
        a=30;
    }
}
